<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
    <title>栏目管理</title>
</head>
<body>
<script language="javascript" type="text/javascript">
    function del(){
        if(confirm("确定要删除吗？")){
            return true;
        }else{
            return false;
        }
    }
</script>
<volist name="category" id="cate">
    <p>栏目名称：<a href="__URL__/edit/id/{$cate.id}">{$cate.cname}</a> | 栏目描述：{$cate.cinfo} | <a href="__URL__/delete/id/{$cate.id}" onclick="return del()">删除</a> | 状态：<eq name="cate.state" value="1">已开启</eq><eq name="cate.state" value="0">未开启</eq></p>
</volist>

<p><a href="__URL__/add">添加栏目</a></p>
</body>
</html>